package com.mazong.serverjoke.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping(value = "/")
public class JokeController {

    @RequestMapping(value = "/hello")
    @ResponseBody
    public Object hello() {
        return "hello world";
    }
}
